<?php
/**
 * Created by JetBrains PhpStorm.
 * User: tridungpham
 * Date: 3/8/11
 * Time: 5:36 PM
 * To change this template use File | Settings | File Templates.
 */
 class testTable extends Table
 {
     function __construct()
     {
        parent::__construct();
         $fields = array('id','num','string');
         $this->setField($fields);
         $rules = array(
            'pk' => array('id'),
            'pk_auto_increment' => TRUE
         );
         $this->setRules($rules);
     }
 }
